package examples.example1;

/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: 10/31/11
 * Time: 5:25 PM
 * To change this template use File | Settings | File Templates.
 */

import dk.au.cs.peterbn.annotations.Pattern;

@Pattern(role="Context", name="gof:Strategy", id="RateStrategy")
public class PayStation {

    private RateStrategy strategy;

    public void foo() {
        strategy = new LinearRateStrategy();
        strategy.calculateTime(200);
    }
}
